package com.wave.gate.enums;

/***
 * @Description 传送带指令枚举
 * @Author linhui
 * @Date 2023/5/6 21:08
 */
public enum ConveyerEnum {
    /**
     * 左人脸识别信号 M0
     */
    CONVEYER_COMMAND_M0("000000000008010F000000010101", "左人脸识别信号"),

    /**
     * 左扫码完成信号 M1
     */
    CONVEYER_COMMAND_M1("000000000008010F000100010101", "左扫码完成信号"),

    /**
     * 中间金属检测完成OK信号 M2
     */
    CONVEYER_COMMAND_M2("000000000008010F000200010101", "中间金属检测完成OK信号"),

    /**
     * 中间金属检测完成NG信号 M3
     */
    CONVEYER_COMMAND_M3("000000000008010F000300010101", "中间金属检测完成NG信号"),

    /**
     * 右人脸识别信号 M4
     */
    CONVEYER_COMMAND_M4("000000000008010F000400010101", "右人脸识别信号"),

    /**
     * 右扫码完成信号 M5
     */
    CONVEYER_COMMAND_M5("000000000008010F000500010101", "右扫码完成信号"),

    /**
     * 重置传送带 M6
     */
    CONVEYER_COMMAND_M6("000000000008010F000600010101", "重置传送带"),

    /**
     * A门token或者二维码不正确，退出物品 M7
     */
    CONVEYER_COMMAND_M7("000000000008010F000700010101", "A门token或者二维码不正确，退出物品"),

    /**
     * B门token或者二维码不正确，退出物品 M8
     */
    CONVEYER_COMMAND_M8("000000000008010F000800010101", "B门token或者二维码不正确，退出物品"),

    /**
     * M9左侧强制退出
     */
    CONVEYER_COMMAND_M9("000000000008010F000900010101", "左侧强制退出"),

    /**
     * M10右侧强制退出
     */
    CONVEYER_COMMAND_M10("000000000008010F000A00010101", "右侧强制退出");

    private String code;

    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    ConveyerEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
